import Mock from 'mockjs'

let data = Mock.mock({
  "list|15": [
    {
      "id": "@id",
      "city": "@city",
      "img": "@image(200x100, @color, @city)",
      "count": 0,
      "checked": false,
      "price": "@integer(10, 100)"
    }
  ]
})

Mock.mock('/api/list', () => {
  return {
    code: 0,
    msg: 'success',
    data: data.list,
    city: data.floor
  }
})




